home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _F201FAE2A0614247A334EAC72896FBCC < prev    next >
Encoding:
Text File  |  2004-03-04  |  1.1 KB  |  49 lines

  1. light("spot_spotmap")
  2. {//tylko dla drzew
  3.     pass()
  4.     {
  5.         Pixelshader("Spot1Tex_B.psh")
  6.         tmu()
  7.         {
  8.             texgen("spotlight")
  9.             texture()
  10.             {
  11.                 spotmap()
  12.                 addressfunc("clamp", "clamp", "clamp")
  13.                 filtering("linear_no_mip")  //FIXIT
  14.             }
  15.         }
  16.  
  17.         tmu()
  18.         {
  19.             texgen("spotlight_z_att")
  20.             texture()
  21.             {
  22.                 image("spot_z.png")
  23.                 addressfunc("clamp", "clamp", "clamp")
  24.                 filtering("linear_no_mip")
  25.             }
  26.         }
  27.  
  28.         tmu()
  29.         {
  30.             TexMod("rotate", "sin", 0, 3, 0.1, "sin", 0, 2.7, 0.11)
  31.             Texture()
  32.             {
  33.                 Mapchannel(0)
  34.                 Image(TEXTURE1)
  35.                 addressfunc("clamp", "clamp", "clamp")
  36.             }
  37.         }
  38.  
  39.         tfactor(1,1,1,0)
  40.         colorgen("tfactor", "user", 0,0,0, "none", 0,0,0)
  41.  
  42.         blendfunc("one", "one")
  43.         depthfunc("lequal", 0)
  44.  
  45.         blackfog()
  46.     }
  47. }
  48.  
  49.